<template>
	<view class="" style="height: 100vh;width: 100vw;">
		<web-view :src="move_url" :webview-styles="webviewStyles"></web-view>
	</view>
</template>

<script>
	var _self;
	export default {
		data() {
			return {
				move_url: '',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					},
					width:'100vw',
					height:'100vh',
				}
			};
		},
		onLoad(options) {
			_self = this;
			if (options && options.move_url) {
				let move_url = JSON.parse(decodeURIComponent(options.move_url));
				// console.log("rk===>[url]",move_url);
				_self.move_url = move_url;
			} else {
				return _self.$util.Tips({
					title: '缺少参数无法查看'
				}, {
					tab: 3,
					url: 1
				});
			}
		},
		methods: {}
	};
</script>

<style lang="scss" scoped>

</style>